<?php if(!defined('PUBLIC_DIR')) die('No Access!');

Cnamespace('System.Web');
interface iRequest {
	// bools
	public function isSecure();
	public function isXmlHttpRequest();
	// values
	public function Host($name = null);
	public function Method($name = null);
	public function PathInfo($name = null);
	public function Referer($name = null);
	public function RemoteAddress($name = null);
	public function RemotePort($name = null);
	public function ScriptExt($name = null);
	public function ScriptName($name = null);
	public function ScriptRealDir($name = null);
	public function ScriptRealPath($name = null);
	public function ScriptVirtualDir($name = null);
	public function ScriptVirtualPath($name = null);
	public function ServerAddress($name = null);
	public function ServerAdmin($name = null);
	public function ServerHost($name = null);
	public function ServerPort($name = null);
	public function ServerProtocol($name = null);
	public function Uri($name = null);
	//arrays
	public function AcceptableContentTypes($name = null, $bool = false);
	public function Charsets($name = null, $bool = false);
	public function Languages($name = null, $bool = false);
	public function Encoding($name = null, $bool = false);
	public function Parameter($name = null, $bool = false);
	public function Cookie($name = null, $bool = false);
	public function Files($name = null, $bool = false);
}